package com.tgpms.web.cost.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.tgpms.util.PageView;
import com.tgpms.web.cost.entity.ProjectEstimate;

/**
* 表PROJECT_ESTIMATE -> D3100控制概算汇总 的基本功能实现
*
* @author newway
* @createDate 2019/08/06
*/
public interface ProjectEstimateMapper {
    /**
     * D3100控制概算汇总  deleteByPrimaryKey 实现
     * 
     * @param pcsCode
     * @return null int
     * @author: newway
     * @createDate: 2019-08-06 08:43:18
     */
    int deleteByPrimaryKey(String pcsCode);

    /**
     * D3100控制概算汇总  insert 实现
     * 
     * @param record
     * @return null int
     * @author: newway
     * @createDate: 2019-08-06 08:43:18
     */
    int insert(ProjectEstimate record);

    /**
     * D3100控制概算汇总  insertSelective 实现
     * 
     * @param record
     * @return null int
     * @author: newway
     * @createDate: 2019-08-06 08:43:18
     */
    int insertSelective(ProjectEstimate record);

    /**
     * D3100控制概算汇总  selectByPrimaryKey 实现
     * 
     * @param pcsCode
     * @return null com.tgpms.web.cost.entity.ProjectEstimate
     * @author: newway
     * @createDate: 2019-08-06 08:43:18
     */
    ProjectEstimate selectByPrimaryKey(String pcsCode);

    /**
     * D3100控制概算汇总  updateByPrimaryKeySelective 实现
     * 
     * @param record
     * @return null int
     * @author: newway
     * @createDate: 2019-08-06 08:43:18
     */
    int updateByPrimaryKeySelective(ProjectEstimate record);

    /**
     * D3100控制概算汇总  updateByPrimaryKey 实现
     * 
     * @param record
     * @return null int
     * @author: newway
     * @createDate: 2019-08-06 08:43:18
     */
    int updateByPrimaryKey(ProjectEstimate record);
    
    /**
	* @Author newway
	* @Description 查询工程概算汇总信息接口信息分页
	* @Date 2019年8月6日下午4:47:05
	* @Param com.tgpms.util.PageView
	* @return List<ProjectEstimate>
	**/
    List<ProjectEstimate> queryByCondition(@Param("pageView")PageView pageView);
}